home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3w / fmstrwid.z / fmstrwid
Encoding:
Text File  |  1998-10-20  |  1.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. FFFFMMMMGGGGEEEETTTTSSSSTTTTRRRRWWWWIIIIDDDDTTTTHHHH((((3333WWWW))))                                            FFFFMMMMGGGGEEEETTTTSSSSTTTTRRRRWWWWIIIIDDDDTTTTHHHH((((3333WWWW))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      fmgetstrwidth - return the width of a string in pixels
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ffffmmmmcccclllliiiieeeennnntttt....hhhh>>>>
  13.  
  14.      lllloooonnnngggg ffffmmmmggggeeeettttssssttttrrrrwwwwiiiiddddtttthhhh((((ffffhhhh,,,, ssssttttrrrr))))
  15.      ffffmmmmffffoooonnnntttthhhhaaaannnnddddlllleeee ffffhhhh;;;;
  16.      cccchhhhaaaarrrr ****ssssttttrrrr;;;;
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      _f_m_g_e_t_s_t_r_w_i_d_t_h returns the number of pixels the string occupies in the x
  20.      dimension.  It uses the subpixel resolution provided in the glyph widths
  21.      as it accumulates the width.  If _f_m_g_e_t_s_t_r_w_i_d_t_h fails, the return value is
  22.      set to -1.
  23.  
  24. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  25.      fminit(3W).
  26.  
  27. NNNNOOOOTTTTEEEE
  28.      This routine is available only in immediate mode.
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.